package com.model.location;

public class City {
	private int cityID;
	private String cityPinyin;
	private String cityName;
	private Province belongsTo;
	
	/**
	 * Ĭ��������ΪֱϽ��ʱ������Province=null
	 * @param cityPinyin
	 * @param cityName
	 * @param belongsTo
	 */
	public City(int cityID,String cityPinyin,String cityName,Province belongsTo){
		this.cityID = cityID;
		this.cityPinyin = cityPinyin;
		this.cityName = cityName;
	}
	
	public String getCityName() {
		return cityName;
	}

	public void setCityName(String cityName) {
		this.cityName = cityName;
	}
	
	public int getCityID() {
		return cityID;
	}

	public void setCityID(int cityID) {
		this.cityID = cityID;
	}

	public Province getBelongsTo() {
		return belongsTo;
	}

	public void setBelongsTo(Province belongsTo) {
		this.belongsTo = belongsTo;
	}

	public String getCityPinyin() {
		return cityPinyin;
	}

	public void setCityPinyin(String cityPinyin) {
		this.cityPinyin = cityPinyin;
	}
	
}
